<!DOCTYPE html>
<html>
<head>
<title>注册新用户</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<base href="<?php echo site_url('')?>">
<link rel="stylesheet" href="css/bone.css?v=1.4.2">
<link rel="stylesheet" href="font/iconfont.css">
<script src="js/zepto.min.js"></script>
<script type="text/javascript">
var SITE_URL = "<?php echo site_url('')?>";
var BASE_URL = "<?php echo base_url('')?>";
</script>
<script src="js/bone-reg.js?v=1.2.9"></script>
<script src="js/bone-global.js?v=1.2.9"></script>
<style>
	[v-cloak] { display: none }
</style>
<style>

</style>
</head>
<body id="app" v-cloak>
		<header-layout title='Bone Vue'>
			<header-dock align='left'>
				<a href=""><Icon type="back"></Icon></a>
			</header-dock>
			注册新用户
		</header-layout>
		<layout-main>
			<form-group type='blank' v-ref:form>
				<layout-box >
					<form-input v-ref:phone name="username" format="phone" required=true place-holder="请输入手机号" label="手机号" icon="people" size="lg"></form-input>
					<form-code v-ref:code name="code"
							label="验证码"
							place-holder="输入验证码"
							@code-send="sendCode"></form-code>
					<form-input name="password" required=true place-holder="请输入密码" label="密 码" type="password" icon="lock" size="lg"></form-input>

					<form-input name="pname" required=true place-holder="请输入家长姓名" label="家长名" size="lg"></form-input>

				</layout-box>
				<layout-box m='1000'>
					<form-input name="sname" required=true place-holder="请输入学生姓名" label="学生名" size="lg"></form-input>
					<form-select
						:data="schools"
						name="school"
						required=true
						place-holder="请选择学校"
						label="学 校"
						size="lg"
						@select-change="schoolchange"
						></form-select>
					<form-select
						v-ref:grades
						:data="grades"
						name="grade"
						required=true
						place-holder="请选择年级"
						label="年 级"
						size="lg"
						@select-change="gradechange"
						></form-select>
					<form-select
						v-ref:classes
						:data="classes"
						name="class"
						required=true
						place-holder="请选择班级"
						label="班 级"
						size="lg"

						></form-select>

					<form-input name="sno"  format="int" place-holder="请输入学号"  label="学 号" size="lg"></form-input>
				</layout-box>
			</form-group>

			<grid-row p='1111'>
				<Btn type="primary" size="lg" block=true @btn-click="submit" name="提 交"></Btn>
			</grid-row>
		</layout-main>
	<script src="js/register.build.js?v=1.4.1"></script>
</body>
</html>
